import ServiceBase from "./ServiceBase";

class DefaultService extends ServiceBase{

    /***
     * 获取验证码
     * @param phone 手机号
     */
    public async sendMobileCode(phone: string): Promise<void> {
        return Promise.resolve();
    }

    /***
     * 登录（短信验证码方式）
     * @param info登录参数
     */
    public async loginForMobile(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }

    /***
     * 登录（手机号码方式）
     * @param info登录参数
     */
    public async login(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 重置密码
     * @param info
     * */
    public async resetPassword(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 注册
     * @param info
     * */
    public async register(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 意见反馈
     * @param info
     * */
    public async suggestFeedback(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 用户信息更新
     * @param info
     * */
    public async userInfoUpdate(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     *查询用户信息
     * @param info
     * */
    public async getUserInfo(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }



    /**
     *搜索图片（小图，大图，用于app搜索设备界面列表）
     * @param info
     * */
    public async searchSmallImg(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 获取所有设备
     * @param info
     * */
    public async getDeviceAll(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /***
     * 获取--页面中选择的设备
     * @param callback
     */
    public getCurrentDevice({callback: Function}: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 添加设备
     * @param info
     * */
    public async addDevice(info: any, loading?: boolean): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 绑定设备
     * @param info
     * */
    public async bindDevice(info: any, loading?: boolean): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 登录（微信方式）
     * @param info
     * wxid:微信分配唯一openid
     * */
    public async loginForWx(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 登录（QQ方式）
     * @param info
     * qqid:QQ分配唯一id
     * */
    public async loginForQq(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 查询设备绑定状态
     * @param info
     * */
    public async searchDeviceBindStats(info: any, loading?: boolean): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 修改设备名称
     * @param info
     * */
    public async setDeviceName(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 删除设备
     * @param info
     * */
    public async deleteDevice(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 更新设备剩余可用时间
     * @param info
     * */
    public async setUsableTime(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 刷新设置
     * @param info
     * */
    public async brushingSetting(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 更新固件版本
     * @param info
     * */
    public async updateFirmwareVersion(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 上传记录
     * @param info
     * */
    public async postRecord(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 查询设备历史记录
     * @param info
     * */
    public async getHistory(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 活动相关商场相关广告列表
     * @param info
     * Type:类型
     * */
    public async getAdList(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 获取设备最新的版本号和固件地址
     * @param info
     * */
    public async getFirmwareVersion(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 根据设备类型查询子型号
     * @param info
     * DeviceType:设备类型
     * */
    public async getDeviceSubType(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 上传设备的类型、子型号、MAC基础信息
     * @param info
     * */
    public async uploadDeviceTypeMacInfo(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }


    /**
     * 根据设备类型和子型号获取对应小图、大图
     * @param info
     * */
    public async getDeviceTypeImg(info: any): Promise<void> {
        console.log("DefaultService")
        return Promise.resolve();
    }
}

export default new DefaultService()